import 'package:flutter/material.dart';

/**
 * 登录状态
 * */
class LoginState with ChangeNotifier {
  int _loginState;
  LoginState(this._loginState);// 初始化登录状态


  void setLoginState(int i) {
    _loginState = i;
    notifyListeners();
  }
  get loginState => _loginState;
}
